/* =============================================================================
#     FileName: led_on.c
#         Desc: 
#       Author: joseph_lee
#        Email: joseph_lee2633@163.com
#     HomePage: 
#      Version: 0.0.1
#   LastChange: 2014-05-18 16:58:17
#      History:
============================================================================= */
#define GPFCON (*( volatile unsigned * )0x56000050)
#define GPFDAT (*( volatile unsigned * )0x56000054)

#define GPGCON (*( volatile unsigned * )0x56000060)

#define GPF4OUT (1<<0x4*2)
#define GPF5OUT (1<<0x5*2)
#define GPF6OUT (1<<0x6*2)

#define GPF0IN (0<<0x0*2)

#define GPF2IN (0<<0x1*2)

#define GPG3IN (0<<0x3*2)
void init_led()
{
	GPFCON=GPF4OUT|GPF5OUT|GPF6OUT;
	GPFDAT=0xff;
}
void init_key()
{
	GPFCON|=GPF0IN | GPF2IN;
	GPGCON&=~

}
void init_all()
{
	init_led();
	init_key();
}
int main(void)
{
	
	return 0;
}

